package com.zis.system.inter;

import com.alibaba.fastjson.JSONObject;
import com.zis.starter.core.IBaseInter;
import com.zis.starter.core.ResponseEntity;
import com.zis.system.model.RoleRes;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface IRoleResInter extends IBaseInter<RoleRes> {

    ResponseEntity roleResSave(JSONObject params) throws Exception;

    ResponseEntity findRoleResTree(String roleId) throws Exception;

    List<RoleRes> findByRoleId(String roleId) throws Exception;
}
